/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.fleet.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.fleet.entity.LossCost;
import com.jeeplus.modules.fleet.mapper.LossCostMapper;

/**
 * 产品损耗Service
 * @author 李超辉
 * @version 2018-10-26
 */
@Service
@Transactional(readOnly = true)
public class LossCostService extends CrudService<LossCostMapper, LossCost> {

	public LossCost get(String id) {
		return super.get(id);
	}
	
	public List<LossCost> findList(LossCost lossCost) {
		return super.findList(lossCost);
	}
	
	public Page<LossCost> findPage(Page<LossCost> page, LossCost lossCost) {
		return super.findPage(page, lossCost);
	}
	
	@Transactional(readOnly = false)
	public void save(LossCost lossCost) {
		super.save(lossCost);
	}
	
	@Transactional(readOnly = false)
	public void delete(LossCost lossCost) {
		super.delete(lossCost);
	}
	
}